home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 236 / 236.d81 / t.get started < prev    next >
Text File  |  2022-08-26  |  2KB  |  93 lines

  1. u
  2.            GETTING STARTED
  3.             with DotBASIC
  4.            by Dave Moorman
  5.  
  6.     The [very] first thing you need to
  7. do to create a program in DotBASIC is
  8. to draw a screen, assign at least one
  9. Event Region, and save it as a MED
  10. file. This is all done with VDOT --
  11. and step-by-step instructions are
  12. included in the VDOT Read It file to
  13. create MED file for a program called
  14. "Howdy."
  15.  
  16.     So, when your "howdy.med" file is
  17. ready, be sure you have copied these
  18. three files to your work disk:
  19.  
  20.         b.dot
  21.         dot.ml
  22.         dot.dot
  23.  
  24.     Now you are ready to go.
  25.  
  26. 1. LOAD "b.dot"
  27.  
  28. 2. LIST 60008
  29.  
  30.         60008 N$="DOT"
  31.  
  32. 3. Edit this line to:
  33.  
  34.         60008 N$="HOWDY"
  35.  
  36. 4. Save your Boot with
  37.  
  38.         GOTO60000
  39.  
  40. 5. RUN the program.
  41.  
  42. 6. After some quick writing on the
  43. screen and the flash screen, you will
  44. see:
  45.  
  46.         1000 return:rl1
  47.         2000 return:rl2
  48.  
  49.         undef'd line number error
  50.  
  51. Move your cursor up and press <RETURN>
  52. on each line number. Then
  53.  
  54.         GOTO60000
  55.  
  56. 7. Reset your computer, and
  57.  
  58.         LOAD"HOWDY",dv (dv=drive #)
  59.  
  60.         and
  61.  
  62.         RUN
  63.  
  64. 8. When the Howdy screen comes up,
  65. press <BACK ARROW>. Add these lines:
  66.  
  67.  1000 .bx,0,39,0,24,32,1
  68.  1002 .tx,1
  69.  1004 .pc,12,"Howdy, Everyone!"
  70.  1006 .pc,24,"Press Key or Click to
  71.          Exit"
  72.  1008 poke198,0
  73.  1010 .do:.ma:.un l2% or peek(198)
  74.  1012 poke198,0
  75.  1014 .er:return
  76.  
  77.  
  78.  2000 .ru,210,215
  79.  2002 e%=i%
  80.  2004 .er:return
  81.  
  82. 9. GOTO60000
  83.  
  84. 10. RUN
  85.  
  86.  
  87.     That's it. Now read through the
  88. docs for DotBASIC and figure out what
  89. in the world you did!
  90.  
  91.  DMM
  92.  
  93.  
  94.